<%@ Page Language="C#" AutoEventWireup="true" Inherits="_Default" Codebehind="Default.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
    <script language="javascript" type="text/javascript">
        var urlLink = "Util/Modulos/Mod_Analise.aspx?modulo=SS_CASH";

        function setUrl(purl) {
            urlLink = purl;
        }

        function abrir() {
            document.getElementById("btnSessionEnd").style.display = "none";
            day = new Date();
            id = day.getTime();
            //var UnivPag = window.open("Util/Modulos/Mod_Geral.aspx?modulo=SS_CASH", id, "dependent=yes,titlebar=0,channelmode=no,copyhistory=no,toolbar=no,scrollbars=no,location=no,status=yes,menubar=no,resizable=no,top=0, left=0,width=" + screen.width + ",height=" + screen.height); //width=1280,height=1024");
            var UnivPag = window.open(urlLink, id, "dependent=yes,titlebar=no,channelmode=no,copyhistory=no,toolbar=no,scrollbars=no,location=no,status=yes,menubar=no,resizable=no,top=0, left=0,width=" + screen.width + ",height=" + screen.height); //width=1280,height=1024");

            if (!UnivPag) {
                document.getElementById("btnSessionEnd").style.display = "block";
                return false;
            }

            var win = window.open("", "_top", "", "true");
            win.opener = true;
            win.close();
            UnivPag.resizeTo(window.screen.availWidth, window.screen.availHeight);

        }
    </script>
    <style type="text/css">
        .PanelArea
        {
            background-color: #fffff0;
            border-color: Gray;
            border-width: 1pt;
            border-style: solid;
            padding: 0 0 0 0;
        }
        
        *
        {
            margin: 0;
            padding: 0;
            scrollbar-3dlight-color: Black;
            scrollbar-arrow-color: Black;
            scrollbar-shadow-color: Black;
            scrollbar-face-color: #C1DFA8;
            scrollbar-highlight-color: #C1DFA8;
            scrollbar-darkshadow-color: White;
            scrollbar-track-color: White;
        }
    </style>
</head>
<body onload="abrir()">
    <form id="form1" runat="server">
    <div>
        <asp:Button ID="btnSessionEnd" runat="server" BackColor="White" BorderWidth="1px"
            OnClick="btnSessionEnd_Click" Text="" Style="position: absolute; left: 0px; top: -2147483648%;
            width: 50%; height: 163px;" />
    </div>
    
    </form>
</body>
</html>
